<?php
include_once $_SERVER['DOCUMENT_ROOT'].'/init.inc.php';


?>
<div class ="r_sidebar">
    <div class="login_form">
          <a href="?logout=1">Выйти</a>
    </div>
    <hr>
    <div class="poll">
        <script src="../js/poll.js" type="text/javascript"></script>
        <?php  include "poll.php"; ?>
        <?php getPoll(1);?>
        
        
    </div>
    
    
</div>
<!--<a href="/inc/poll.php?cleanCookie=1">Сбросить куку</a>-->


<?php
if ($_REQUEST['logout']){
   $log->logout();
      echo "<script> location=\"/\" </script>";
}

?>